Using the Clock Applet

  1. The graphic files, .class file, and html file containing the applet code must be in the same folder or this applet won't work.
  2. For this applet to work, you must first copy this code to your html file.
  3. You must not change the file names of the graphic files, but you can edit their appearance. You can change the file name of the .class file as you like, but remember to make corresponding changes in the "applet" tag.
  4. View your html file. check whether the whole clock appears in the Webpage. The whole clock should look similar to this:
  5. Adjust the size of the clock as necessary by changing the value of the "height" and "width" in the "applet" tag.
  6. You can now be creative. Treat the whole "applet" tag as an entire object and you can move it around like any other html objects!
  7. Enjoy the "Clock".

Credits: This applet was an alteration made to the Clock JavaScript presented in the HTML Goodies Homepage. The graphics were taken directly from there.